<template>
  <h1>我的表格呢</h1>
  <el-table
      :data="res"
      style="width: 100%">
    <el-table-column
        prop="field1"
        label="日期"
        width="180">
    </el-table-column>
    <el-table-column
        prop="field2"
        label="姓名"
        width="180">
    </el-table-column>
    <el-table-column
        prop="field3"
        label="地址">
    </el-table-column>
  </el-table>
</template>

<script setup>
import api from "@/api/index.js";

const pagequery = {
  "page": 1,
  "pageSize": 3
}

const res = await api.demo.contractQuery(pagequery);

//
console.log(res, 'ppp')

</script>